package com.intellagric.service.module.cms_content;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.CmsCategory;
import com.intellagric.pojo.CmsCategoryExample;

import java.util.List;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2019/1/19
 * @DESC：
 */
public interface ContentCategoryService {

    ResponseMessage addContentCategory(CmsCategory contentCategory);

    ResponseMessage deleteContentCategory(String id);

    ResponseMessage editContentCategory(CmsCategory contentCategory);

    CmsCategory queryContentCategoryById(String id);

    LayuiDataGridResult queryContentCategoryList();

    LayuiDataGridResult queryContentCategoryByPid(String parentId);

    LayuiDataGridResult getContentCategoryTree();
}
